<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0,
		minimum-scale=1.0, maximum-scale=1.0"/>
    <meta charset="UTF-8">
    <title>退单详情</title>
    <link href="../public/css/style.css" rel="stylesheet">
    <link href="../public/css/common.css" rel="stylesheet">
</head>
<body class="layout_body">
<div class="layout_content graybg"  style="padding-bottom: 0;">
    <header class="demo-header" style="padding-top: 10px;">
        <div class="titleLeft flt">
            <a href="/refundorderlist/index">
                <img src="../public/img/back.png" width="35px" height="33px">
            </a>
        </div>
        <div class="titleRight flt text-center flow-top2">退单详情</div>
    </header>
    <div class="whitebg">
        <div class="sizecolor border2">订单号：DH164213543086</div>
        <?php if (isset($detail['below']) && !empty($detail['below'])){ ?>
            <?php foreach ($detail['below'] as $key => $below){ ?>
                <div class="order-flow-detail text-center flt <?php if ($key == 0){echo 'flow-top1 ';}else{echo 'flow-top2';} ?>" <?php if ($key == 0){echo 'style="padding-left: 11%;width: 25%;"';}else{echo 'style="padding-left: 5%;"';} ?>>
                    <p class="guige time-padding"><?php echo $below['time']; ?></p>
                    <p class="product "><?php echo $below['node_name']; ?></p>
                </div>
            <?php } ?>
        <?php } ?>
        <div class="clear_both"></div>
        <div class="order-flow">
            <?php if (isset($detail['workflowList']) && !empty($detail['workflowList'])){ ?>
                <?php
                end($detail['workflowList']);
                $key_last = key($detail['workflowList']);
                ?>
                <?php foreach ($detail['workflowList'] as $key => $val){ ?>
                    <?php if($key != $key_last) { ?>
                        <div class="circle"></div>
                        <div class="changxian"></div>
                    <?php }else { ?>
                        <div class="circle" style="background-color: #E9E9E9;"></div>
                    <?php } ?>
                <?php }  ?>
            <?php } ?>
        </div>
        <div class="clear_both"></div>
        <?php if (isset($detail['up']) && !empty($detail['up'])){ ?>
            <?php foreach ($detail['up'] as $key => $up){ ?>
                <div class="order-flow-detail flt flow-bottom1" style="padding-left: 2%;">
                    <p class="product"><?php echo $up['node_name']; ?></p>
                    <p class="guige data-padding"><?php echo $up['time']; ?></p>
                </div>
            <?php } ?>
        <?php } ?>
    </div>
    <div class="whitebg">
        <div class="sizecolor">退款金额</div>
        <div class="border1">
            <div class="padding-top product flt">申请金额</div><div class="frt zonge">￥<?php echo $detail['refund_price'] ?></div>
            <div class="clear_both"></div>
            <div class="padding-top product flt">审批金额</div><div class="frt zonge">￥<?php echo $detail['apply_price'] ?></div>
        </div>
    </div>
    <div class="whitebg">
        <div class="sizecolor">退款信息</div>
        <div class="message-detail padding-adjust5">
            <p><?php echo $detail['remark'] ?></p>
        </div>
    </div>
    <div class="whitebg">
        <div class="sizecolor">退款备注</div>
        <div class="message-detail padding-adjust5">
            <p><?php echo $detail['refund_remark'] ?></p>
        </div>
    </div>
    <div class="whitebg">
        <div class="sizecolor">图片凭证</div>
        <div class="ordetail-img return-order-img">
            <?php if ($detail['img_list']){ ?>
                <?php foreach ($detail['img_list'] as $key => $img){ ?>
                    <div class="order-img">
                        <div>
                            <img src="<?php echo $img;?>" />
                        </div>
                    </div>
                <?php } ?>
            <?php } ?>

        </div>
    </div>
    <div class="whitebg">
        <div class="sizecolor">商品信息</div>
        <div class="message-detail border-two text-right fontsize zhemanjian" id="return-detail-prolist">
            <div class="product-list newproduct" style="padding-bottom: 0;border: none;">
                <?php if ($detail['order_detail_list']){ ?>
                    <?php foreach ($detail['order_detail_list'] as $key => $pro){ ?>
                        <div>
                            <img src="<?php echo $pro['product_img']; ?>"/>
                            <div class="flt pline">
                                <p class="product"><?php echo $pro['product_name']; ?></p>
                                <p class="guige"><?php echo $pro['product_sku_attr']; ?></p>
                                <p class="product">￥<?php echo $pro['price']; ?></p>
                            </div>
                            <div class="flt cart returnD_number">x<?php echo $pro['refund_sku_amout']; ?></div>
                        </div>
                    <?php } ?>
                <?php } ?>
            </div>
        </div>
        <div class="padding-adjust4"><div class="button-two Cgray">意见反馈</div></div>
    </div>

</div>
</body>
</html>
